package com.itheima.service.cargo.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.stat.StatDao;
import com.itheima.service.cargo.StatService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class StatServiceImpl implements StatService {
    @Autowired
    private StatDao statDao;

    @Override
    public List findFacotryAmount(String companyId) {
        return statDao.findFacotryAmount(companyId);
    }

    @Override
    public List findProductSell(String companyId) {
        return statDao.findProductSell(companyId);
    }

    @Override
    public List findLogTime(String companyId) {
        return statDao.findLogTime(companyId);
    }
}
